package com.service;

import com.dto.CreatorStatDTO;
import com.dto.StatDTO;
import com.entity.*;
import com.vo.OrderClientVO;
import com.vo.OrderRefundVO;
import com.vo.OrderVO;

import java.util.List;

public interface OrderService {
    PageBean<Order> getAll(Integer pageIndex, Integer pageSize, OrderVO orderVO);
    void add(OrderClientVO orderClientVO);
    void remove(int[] oids);
    void modify(Order order);
    String getOrderNumber();
    void delivery(Order order);
    void refund(OrderRefundVO orderRefundVO);
    StatDTO stat(String month);
    List<CreatorStatDTO> statYear(String year, String creator);
    Employee getByCname(String ename);
    GoodsEntity getByGname(String gname);
}
